import _fetch from './request'

// 定义登录api

function toLogin(data) {
  return _fetch({
    url: '/login',
    method: "post",
    data: data
  })
}
export { toLogin }